import { Dish } from '../pages/dish/dish.type';
import { BaseListReponselist } from '../types';
import { request } from '../utils/request';

export class DishApi {
  // https://rainkai.com/api/admin/dish/dish/page
  static async getDishPage(params: any) {
    return request.post<any, BaseListReponselist<Dish>>('/admin/dish/dish/page', params);
  }
}
